package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class MessageTel implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 用户手机号
     *
     * @mbg.generated
     */
    private String tel;

    /**
     * 运营商类型 1-移动 2-电信 3-联通 4-三网/其他/未知
     *
     * @mbg.generated
     */
    private Integer operatorType;

    /**
     * 发送状态 1-初始状态 2-待发送 3-发送成功 4-发送失败
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 发送短信的编码
     *
     * @mbg.generated
     */
    private String msgNo;

    /**
     * 发送时间
     *
     * @mbg.generated
     */
    private Date sendTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType) {
        this.operatorType = operatorType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsgNo() {
        return msgNo;
    }

    public void setMsgNo(String msgNo) {
        this.msgNo = msgNo;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tel=").append(tel);
        sb.append(", operatorType=").append(operatorType);
        sb.append(", status=").append(status);
        sb.append(", msgNo=").append(msgNo);
        sb.append(", sendTime=").append(sendTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}